<template>
  <!--      下部内容-->
  <!--        具体帖子-->
  <div class="row bottom_main">
    <div class="left_main col-md-12">

      <!--          具体帖子内容-->
      <div class="post_main">
        <router-view></router-view>
      </div>

    </div>

  </div>

</template>

<script>

export default {
  name: "one_post_frame",
  components:{
  },
  data() {
    return {
      //默认第一个选项卡
      activeIndex:'1',

    }
  },
  methods:{
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
    },

  },
  created() {

    if(this.$router.history.current.path !='/Discussion_Frame/One_Post_Main/One_Post')
    {
      this.$router.push({path:'/Discussion_Frame/One_Post_Main/One_Post'});

    }

  }
}
</script>

<style scoped>
/*下面部分总体盒子*/
.bottom_main{
  /*margin-left: 110px;*/
  /*margin-right: 110px;*/
  /*text-align:center;*/
  width:1380px;
  margin:0 auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
/*下面盒子*/
.left_main {
  /*margin-left: 110px;*/
  border-radius: 10px;
  background-color: white;
  padding: 30px;
  /*margin-top: -40px;*/
}
/*选项卡的字体*/
.fontClass{
  font-size:20px;
  font-family: Microsoft Yahei;
}
/*去路由横线*/
a:hover
{
  text-decoration: none;
}

</style>
